if(NOT WITH_CPP_TEST)
  return()
endif()
add_subdirectory(auto_parallel)
add_subdirectory(phi)
add_subdirectory(jit)
add_subdirectory(new_executor)
add_subdirectory(prim)
add_subdirectory(imperative)
add_subdirectory(pir)
add_subdirectory(inference)
add_subdirectory(eager)
add_subdirectory(fluid)
add_subdirectory(utils)
add_subdirectory(compat)
if(WITH_CINN)
  add_subdirectory(cinn)
endif()
